
<!-- 登陆界面 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>东十426论坛——登录</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=GBK">
    <link rel="stylesheet" type="text/css" href="./styles.css">
    <link href="css/demo.css" rel="stylesheet"/>
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="layer/layer.js"></script>
    <script src="js/demo.js"></script>

</head>
<style>
    </style>
<script type=text/javascript>
    // 验证输入不为空的脚本代码
    function checkForm(form) {
        if(form.username.value == "") {
            alert("用户名不能为空!");

            form.username.focus();
            return false;
        }
        if(form.password.value == "") {
            alert("密码不能为空!");
            form.password.focus();
            return false;
        }
        return true;
    }
</script>
<body bgcolor="aqua">
<center>
    <h1><br><br>欢迎来到东十426 首先请登录</h1>  <br><br>
    <table border=0>
        <form action="enter.jsp" method="post" onsubmit="return checkForm(this);">
            <tr>
                <td><h2>用户名：</td><td><h3><input type="text" name="username"></td>
            </tr>
            <tr>
                <td><h2>密码 ：</td><td><h3><input type="password" name="password"></td>
            </tr>
            <tr>
                <td><input type="submit" value="登录" name="submit1" ></td>
                <td><input type="reset" value="重置" name="reset1"></td>
            </tr>
        </form>
        <tr>
            <td>
                <form action="getPassword.jsp" method=post >

                    <input type="submit" value="取回密码" name="getpass">
                </form>
            </td>
            <td>
                <form action="register.jsp" method=post >
                    <input type="submit" value="新成员来这里" name="regist">
                </form>
            </td>
        </tr>
    </table>
    <div id="footer"><a href="javascript:;" id="login" onclick="ShowLoginBox()">个人信息</a><&nbsp;>
    <a href="attend.jsp" id="qiandao" >宿舍签到</a></div>
</center>
<div id="LoginBox">
    <div class="login-item"><input type="text" id="aihao" placeholder="请输入自己的爱好"/></div>
    <div class="login-item"><input type="text" id="qida" placeholder="请输入自己的期待"/></div>
    <div class="login-item"><a href="javascript:;" onclick="Login()">加入战队</a></div>
</div>
</body>
</html>
